package cn.itsource.pethome.user.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.user.domain.User;

/**
 * 用户mapper
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过手机号码查询用户对象
     * @param phone  手机号码
     * @return
     */
    User loadByPhone(String phone);
}
